package com.lcq.common.constant;

public class ProductConstant {
    public enum AttrEnum{
        ATTR_BASE_TYPE(1,"base"),ATTR_SALE_TYPE(0,"sale");
        private int code;
        private String msg;
        AttrEnum(int code,String msg){
            this.code=code;
            this.msg=msg;
        }

        public int getCode() {
            return code;
        }

        public String getMsg() {
            return msg;
        }
    }
    public enum SpuPublishStatusEnum{
        DOWN(0,"下架"),UP(1,"上架");
        private int code;
        private String msg;
        SpuPublishStatusEnum(int code,String msg){
            this.code=code;
            this.msg=msg;
        }

        public int getCode() {
            return code;
        }

        public String getMsg() {
            return msg;
        }
    }

}
